package com.etc.entity;

import com.alipay.api.domain.DataEntry;

import java.math.BigDecimal;
import java.util.Date;

/**
 * hxs
 */
public class AdminRecord {
    private  int rid;
    private  String username;
    private  String cname ;
    private Date buytime;
    private BigDecimal payprice;

    public AdminRecord() {
    }

    public AdminRecord(int rid, String username, String cname, Date buytime, BigDecimal payprice) {
        this.rid = rid;
        this.username = username;
        this.cname = cname;
        this.buytime = buytime;
        this.payprice = payprice;
    }

    public int getRid() {
        return rid;
    }

    public void setRid(int rid) {
        this.rid = rid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public Date getBuytime() {
        return buytime;
    }

    public void setBuytime(Date buytime) {
        this.buytime = buytime;
    }

    public BigDecimal getPayprice() {
        return payprice;
    }

    public void setPayprice(BigDecimal payprice) {
        this.payprice = payprice;
    }

    @Override
    public String toString() {
        return "AdminRecord{" +
                "rid=" + rid +
                ", username='" + username + '\'' +
                ", cname='" + cname + '\'' +
                ", buytime=" + buytime +
                ", payprice=" + payprice +
                '}';
    }
}
